<?php

namespace App\Observers;

use App\Models\Address;

class AddressObserver
{
	public function saving(Address $address)
	{
		$address->id_code = strip_tags(clean($address->id_code, 'default'));
		$address->id_name = strip_tags(clean($address->id_name, 'default'));
		$address->contact_name = strip_tags(clean($address->contact_name, 'default'));
		$address->address = strip_tags(clean($address->address, 'default'));
	}
}
